<template>
  <n-result status="500" title="500 服务器错误" description="Sorry, the server is reporting an error.">
    <template #footer>
      <n-button>Back Home</n-button>
    </template>
  </n-result>
</template>

<script lang="ts">
import { NResult } from 'naive-ui'
import { defineComponent } from 'vue'

export default defineComponent({
  name: 'Exception500',
  components: {
    NResult
  },
  methods: {
    toHome() {
      this.$router.push({ path: '/' })
    }
  }
})
</script>

<style scoped></style>
